package com.ruoyi.worker.constant;

import com.ruoyi.worker.domain.*;

/**
 * @ClassName Constant
 * @Description 常量类
 * @Author leizhang
 * Date 2021/11/17 5:42 下午
 * @Version 1.0
 **/
public interface Constant {
    /**
     * 入口
     **/
    String NUMBER_88 = "门点88";
    String NUMBER_92 = "门点92";

    /**
     * 出口
     **/
    String NUMBER_89 = "门点89";
    String NUMBER_91 = "门点91";

    int NUMBER_0 = 0;
    /**
     * workTime
     **/
    String WORK_TIME = "workTime";
    String AFTER_WORK_TIME = "afterWorkTime";
    String DATE_FORMAT_1 = "yyyy-MM-dd HH:mm";
    String DATE_FORMAT_2 = "yyyy-MM-dd";

    String HEAD_VALUE = "headValue";
    String NEXT_VALUE = "nextValue";

    /**
     * 起始行
     */
    String FIRST_ROW = "firstRow";
    /**
     * 起始列
     */
    String FIRST_COL = "firstCol";
    /**
     * 终止行
     */
    String END_ROW = "endRow";
    /**
     * 终止列
     */
    String END_COL = "endCol";
    /**
     * 下拉框数组
     */
    String DATA_ARRAY = "dataArray";
    /**
     * 隐藏Sheet的名称
     */
    String HIDDEN_SHEET_NAME = "hiddenSheetName";
    /**
     * 文件名称
     */
    String CODED_FILE_NAME = "codedFileName";
    /**
     * 人员数量
     */
    String ROWS_SIZE = "rows";

    /**
     * 排班计划模板Key
     */
    String PLAN_KEY = "planDay";
    String PLAN_KEY_DATE = "date";
    String PLAN_KEY_PLAN = "plan";

    /**
     * 渠道商价格是否启用
     * {@link TemporaryWorkerDomain#priceStatus}
     */
    Integer PRICE_STATUS_DISABLE = 2;
    Integer PRICE_STATUS_ENABLE = 0;

    /**
     * 班次描述
     * {@link ExcelToolDomain#timeShiftName}
     */
    String DAY_SHIFT = "白班";
    String NIGHT_SHIFT = "夜班";

    /**
     * 长期工校验组
     * <p>分别对应 班组 区域 组别 岗位 职级 在职状态
     */
    String CLAZZ_KEY = "clazz";
    String AREA_KEY = "area";
    String GROUP_KEY = "group";
    String POST_KEY = "post";
    String PROFESSION_KEY = "profession";
    String WORK_STATUS_KEY = "workStatus";
    String JOB_STATUS_KEY = "jobStatus";
    String SALARY_METHOD_KEY = "salaryMethod";
    String STATUS_KEY = "status";
    /**
     * 长期工年龄限制
     */
    Integer AGE_20 = 20;
    Integer AGE_50 = 50;

    /**
     * 工种
     *
     * @see RzBlockWorker#workerType
     */
    Integer WORKER_TYPE_C = 1;
    Integer WORKER_TYPE_L = 2;

    /**
     * 长期工拉黑状态
     *
     * @see TermWorker#status
     * @see WorkerInfos#status
     */
    Integer WORKER_STATUS_BLOCK_C = 1;
    Integer WORKER_STATUS_NO_BLOCK_C = 0;


    /**
     * 临时工拉黑状态
     *
     * @see WorkerInfos#status
     */
    Integer WORKER_STATUS_BLOCK_L = 0;
    Integer WORKER_STATUS_NO_BLOCK_L = 1;


}
